package com.intellif.mozping.producer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author by mozping
 * @Classname TestKafkaTrigger
 * @Description TODO
 * @Date 2019/4/17 15:36
 */
@Component
public class TestKafkaTrigger implements CommandLineRunner {

    @Autowired
    TestKafka testKafka;

    public void run(String... args) throws Exception {
        testKafka.send();
    }
}


